package org.boge.sharpdoc.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.boge.sharpdoc.bean.Care;

import java.util.List;

@Mapper
public interface CareDao {
    public Care findIfExist(@Param("self") Long self, @Param("other") Long other);

    public Integer addCare(@Param("self") Long self, @Param("other") Long other);

    public Integer deleteCare(@Param("self") Long self, @Param("other") Long other);

    public List<Care> findOnesCare(Long phone);
}